package com.ruoyi.logistic.service.impl;

import com.ruoyi.logistic.domain.NetworkOrderSource;
import com.ruoyi.logistic.mapper.NetworkOrderSourceMapper;
import com.ruoyi.logistic.service.NetworkOrderSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class NetworkOrderSourceServiceImpl implements NetworkOrderSourceService {
    @Autowired
    private NetworkOrderSourceMapper networkOrderSourceMapper;
    @Override
    public List<NetworkOrderSource> selectAll() {
        return networkOrderSourceMapper.selectAll();
    }

    @Override
    public NetworkOrderSource findById(Integer id) {
        return networkOrderSourceMapper.findById(id);
    }

    @Override
    public Boolean insert(NetworkOrderSource networkOrderSource) {
        return networkOrderSourceMapper.insert(networkOrderSource);
    }

    @Override
    public Boolean update(NetworkOrderSource networkOrderSource) {
        return networkOrderSourceMapper.update(networkOrderSource);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return networkOrderSourceMapper.deleteById(id);
    }
}
